package com.atguigu.spzx.product.service;

import com.atguigu.spzx.model.entity.product.Category;

import java.util.List;

/**
 * ClassName: CategoryService
 * Package:
 * Description:
 *
 * @Author:xiaohei
 * @Create 2024/5/22 9:23
 * Version 1.0
 */
public interface CategoryService {

    //查询所有一级分类
    List<Category> selectOneCategory();

    //查询所有分类，按照树形方式封装
    List<Category> findCategoryTree();

}
